package com.itetchologyandenglish.home.service;
import com.itetchologyandenglish.home.enetity.AuthUser;
import com.itetchologyandenglish.home.mapper.UserMapper;
import org.junit.jupiter.api.Test;
import org.springframework.http.converter.json.GsonBuilderUtils;

import javax.annotation.Resource;

public class TestDemo {
    @Resource
    UserMapper userMapper;
    @Test
    public void test(){
        AuthUser user=new AuthUser().setUsername("admin").setPassword("techi").setRealName("刘畅")
                .setEmail("oihhbh.com").setTel("1246566778");
        userMapper.getAllUser().forEach(System.out::println);
    }

}
